import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm'

@Entity()
export class SysLoginInfoEntity implements ISysLoginInfoEntity {
  @PrimaryGeneratedColumn({ type: 'bigint' })
  infoId: string

  @Column()
  userName: string

  @Column()
  loginIp: string

  @Column()
  loginLocation: string

  @Column()
  browser: string

  @Column()
  os: string

  @Column()
  status: string

  @Column()
  msg: string

  @Column()
  loginDate: Date
}
